# 读取“xiaofei.csv”文件中的内容，并将“江西”、“甘肃”两省的“衣着”消费支出打印
ls = []
text = open("xiaofei.csv", "r")
for line in text:
    line = line.replace("\n", "")
    ls.append(line.split(","))
print("江西的“衣着”消费支出:{}".format(ls[15][3]))
print("“甘肃的衣着”消费支出:{}".format(ls[29][3]))